package org.darkforest.model;

import org.darkforest.common.util.DateUtil;
import org.darkforest.common.util.Page;

import java.math.BigDecimal;

public class OrderBill extends Page<OrderBill>{
    private Integer obNo;

    private Integer obStartDate;

    private Integer obEndDate;

    private BigDecimal obOrderTotals;

    private BigDecimal obShippingTotals;

    private BigDecimal obOrderReturnTotals;

    private BigDecimal obCommisTotals;

    private BigDecimal obCommisReturnTotals;

    private BigDecimal obStoreCostTotals;

    private BigDecimal obResultTotals;

    private Integer obCreateDate;

    private Integer osMonth;

    private String obState;

    private Integer obPayDate;

    private String obPayContent;

    private Integer obStoreId;

    private String obStoreName;

    private String obStartDateStr;
    private String obEndDateStr;
    private String obCreateDateStr;


    public String getObStartDateStr() {
        return DateUtil.toIntDateString(this.getObStartDate());
    }

    public void setObStartDateStr(String obStartDateStr) {
        this.obStartDateStr = obStartDateStr;
    }

    public String getObEndDateStr() {
        return DateUtil.toIntDateString(this.getObEndDate());
    }

    public void setObEndDateStr(String obEndDateStr) {
        this.obEndDateStr = obEndDateStr;
    }

    public String getObCreateDateStr() {
        return DateUtil.toIntDateString(this.getObCreateDate());
    }

    public void setObCreateDateStr(String obCreateDateStr) {
        this.obCreateDateStr = obCreateDateStr;
    }

    public Integer getObNo() {
        return obNo;
    }

    public void setObNo(Integer obNo) {
        this.obNo = obNo;
    }

    public Integer getObStartDate() {
        return obStartDate;
    }

    public void setObStartDate(Integer obStartDate) {
        this.obStartDate = obStartDate;
    }

    public Integer getObEndDate() {
        return obEndDate;
    }

    public void setObEndDate(Integer obEndDate) {
        this.obEndDate = obEndDate;
    }

    public BigDecimal getObOrderTotals() {
        return obOrderTotals;
    }

    public void setObOrderTotals(BigDecimal obOrderTotals) {
        this.obOrderTotals = obOrderTotals;
    }

    public BigDecimal getObShippingTotals() {
        return obShippingTotals;
    }

    public void setObShippingTotals(BigDecimal obShippingTotals) {
        this.obShippingTotals = obShippingTotals;
    }

    public BigDecimal getObOrderReturnTotals() {
        return obOrderReturnTotals;
    }

    public void setObOrderReturnTotals(BigDecimal obOrderReturnTotals) {
        this.obOrderReturnTotals = obOrderReturnTotals;
    }

    public BigDecimal getObCommisTotals() {
        return obCommisTotals;
    }

    public void setObCommisTotals(BigDecimal obCommisTotals) {
        this.obCommisTotals = obCommisTotals;
    }

    public BigDecimal getObCommisReturnTotals() {
        return obCommisReturnTotals;
    }

    public void setObCommisReturnTotals(BigDecimal obCommisReturnTotals) {
        this.obCommisReturnTotals = obCommisReturnTotals;
    }

    public BigDecimal getObStoreCostTotals() {
        return obStoreCostTotals;
    }

    public void setObStoreCostTotals(BigDecimal obStoreCostTotals) {
        this.obStoreCostTotals = obStoreCostTotals;
    }

    public BigDecimal getObResultTotals() {
        return obResultTotals;
    }

    public void setObResultTotals(BigDecimal obResultTotals) {
        this.obResultTotals = obResultTotals;
    }

    public Integer getObCreateDate() {
        return obCreateDate;
    }

    public void setObCreateDate(Integer obCreateDate) {
        this.obCreateDate = obCreateDate;
    }

    public Integer getOsMonth() {
        return osMonth;
    }

    public void setOsMonth(Integer osMonth) {
        this.osMonth = osMonth;
    }

    public String getObState() {
        return obState;
    }

    public void setObState(String obState) {
        this.obState = obState == null ? null : obState.trim();
    }

    public Integer getObPayDate() {
        return obPayDate;
    }

    public void setObPayDate(Integer obPayDate) {
        this.obPayDate = obPayDate;
    }

    public String getObPayContent() {
        return obPayContent;
    }

    public void setObPayContent(String obPayContent) {
        this.obPayContent = obPayContent == null ? null : obPayContent.trim();
    }

    public Integer getObStoreId() {
        return obStoreId;
    }

    public void setObStoreId(Integer obStoreId) {
        this.obStoreId = obStoreId;
    }

    public String getObStoreName() {
        return obStoreName;
    }

    public void setObStoreName(String obStoreName) {
        this.obStoreName = obStoreName == null ? null : obStoreName.trim();
    }
}